package org.luxor.commons.swagger.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 样例实体
 *
 * @author Mr.yan  @date 2022/6/25
 */
public class Info {
    private String name;
    private int age;
    private Double sl;
    private Date updateTime;
    private BigDecimal price;

    public Info() {
        this.name = "MR.YAN";
        this.age = 100;
        this.sl = 3.2;
        this.updateTime = new Date();
        this.price = new BigDecimal("1092836.02");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Info{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", updateTime=" + updateTime +
                ", price=" + price +
                '}';
    }
}
